﻿namespace LitBT
{
    /// <summary>
    /// 装饰节点
    /// 处理子节点的返回结果
    /// </summary>
    public abstract class DecoratorNode : Node
    {
        public Node child;

        public override Node Clone()
        {
            var node = Instantiate(this);
            node.child = child.Clone();
            return node;
        }
    }
}